/**
 * 小程序配置文件
 */

// 此处主机域名是腾讯云解决方案分配的域名
// 小程序后台服务解决方案：https://www.qcloud.com/solution/la

//var host = "https://niceguanjia.cn"
var host = "http://pm.enspark.cn"
var api = "apiv2.php";
var config = {

  //域名
  host,

  // 登录地址    app.js
  loginUrl: `${host}/${api}/business/login/xcx_login`,

  // 获取大厅列表     tabBar/index.js
  hallList: `${host}/${api}/business/paimai/get_hall`,

  // 获取用户角色        app.js
  getRole: `${host}/${api}/business/index/get_role`,

  // 获取所在厅的档期       
  gethall_list: `${host}/${api}/business/index/get_hall_list`,

  // 小程序管理员补卡
  buka_help: `${host}/${api}/business/Manager/help`,

  // 小程序管理员主持人列表     :wheat choice_host
  host_list: `${host}/${api}/business/Manager/zhuchi_list_order`,

  // 小程序管理员更换主持人     :wheat choice_host
  host_change: `${host}/${api}/business/Manager/changezhuchi`,

  // 排麦中的用户列表
  paimai_userlist: `${host}/${api}/business/index/get_paimailist`,

  // 主持设置结束排麦时间
  set_paimaiend: `${host}/${api}/business/index/set_paimaiend`,

  // 主持设置开始排麦时间    main_wei
  set_paimaistart: `${host}/${api}/business/index/set_paimaistart`,

  // 保存对主持的惩罚方式   xcx_xiaoxi
  save_punishment: `${host}/${api}/business/Manager/save_punishment`,

  // 给主持发送未打卡的消息通知   xcx_xiaoxi
  message_send: `${host}/${api}/business/Manager/message`,

  //
  clock_in: `${host}/${api}/business/Manager/clock_in`,

  // 保存建档       xcx_jiandang
  save_jiandang: `${host}/${api}/business/Manager/save_jiandang`,

  // 档期列表     ：/tabBar/wheat/index 
  dangqi_list: `${host}/${api}/business/Manager/dangqi_list`,

  // 主播 排麦列表     anchor_paimaizhong anchor_yipai
  anchor_mailist: `${host}/${api}/business/Manager/paimailist`,

  // 排麦类型     anchor_paimaizhong
  maiType: `${host}/${api}/business/Manager/paimai_type`,

  // 提交排麦     anchor_paimaizhong
  savePaimai: `${host}/${api}/business/Manager/gotopaimai`,

  // 主播 取消排麦     anchor_paimaizhong
  canclepaimai: `${host}/${api}/business/Manager/canclepaimai`,

  // 主播 补排     wheat：anchor_budang
  fill_mic: `${host}/${api}/business/Manager/fill_mic`,

  // 主持 排麦中     main_paimaizhong
  setEndTime: `${host}/${api}/business/index/set_paimaiend`,

  // 主持 跳档标记     main_daka
  setTiaodang: `${host}/${api}/business/index/set_tiaodang`,

  // 主持  大光福利.冠厅列表     main_daka
  get_dakadata: `${host}/${api}/business/index/get_dakadata`,

  // 主持  受益人列表     main_shouyiren
  get_shouyiren: `${host}/${api}/business/index/get_shouyiren`,

  // 打卡  保存     main_daka
  save_benefits: `${host}/${api}/business/index/save_benefits`,

  //上传图片    main_daka
  upload_img: `${host}/${api}/business/index/upimg`,

  //修改今日魅力值 本当任务    main_daka
  base_punish: `${host}/${api}/business/index/base_punish`,

  //建档可选时间段    xcx_jiandang
  timeduan: `${host}/${api}/business/Manager/timeduan`,

  //主持 消息    main_xiaoxi，xcx_xiaoxi
  main_xiaoxi: `${host}/${api}/business/index/get_messages`,

  //工资        wages/index
  day_salary: `${host}/${api}/business/Salary/day_salary`,

  //一条档期信息     main_xiaoxi
  infobydid: `${host}/${api}/business/index/infobydid`,

  //更改状态     main_daka
  updateStatus: `${host}/${api}/business/index/editdidsignstatus`,

  //年和月 （档期）      ：/tabBar/wheat/index 
  dangqi_year_month: `${host}/${api}/business/Manager/dangqi_year_month`,

  //发起补档      main_daka
  gobudang: `${host}/${api}/business/Manager/add_status`,

  //判断惩罚方式是否可选  main_daka
  check_cf_type: `${host}/${api}/business/Manager/check_cf_type`,

  //main_daka  确认按钮提交打卡信息
  save_dakainfo: `${host}/${api}/business/index/save_dakainfo`,

  //角色接口
  check_role: `${host}/${api}/business/Manager/check_role`,

  // 周麦序排名
  week_ranking: `${host}/${api}/business/Manager/weeks_rankings`,

  // 是否有未读消息
  dingding: `${host}/${api}/business/index/dingding`,

  //加入厅
  creat_user_verify: `${host}/${api}/business/index/creat_user_verify`,

  //保存用户头像昵称
  save_wx_userinfo: `${host}/${api}/business/index/save_wx_userinfo`,

  //保存用户手机号
  save_wx_mobile: `${host}/${api}/business/index/save_wx_mobile`,

  //发送置顶卡数量
  get_number: `${host}/${api}/business/Manager/get_number`,

  //发送置顶卡
  send_topcard: `${host}/${api}/business/Manager/send_topcard`,

  //获取openid
  getUserOpenId: `${host}/${api}/business/login/xcx_getopenid`,

  //排麦历史记录
  history: `${host}/${api}/business/Manager/history`,

  //空坑位排麦  
  kongkengpaimai: `${host}/${api}/business/Manager/kongkengpaimai`,

};

module.exports = config